package service

import (
	"context"
	"xs.jsjb/internal/app/user/entity"
	"xs.jsjb/internal/app/user/repository"
)

type (
	userService struct {
		repo repository.UserRepo
	}
	UserService interface {
		// Login 登陆
		Login(ctx context.Context, signIn *entity.LoginReq) (string, error)
	}
)

func NewUserService(repo repository.UserRepo) UserService {
	return &userService{
		repo: repo,
	}
}
